package org.luckyjourney.entity.plan.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("")
public class PlanVO implements Serializable {
    @ApiModelProperty("注解id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("注解id")
    private Long userId;

    @ApiModelProperty("咨询师名称")
    private String nikeName;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty("咨询类型id")
    private Long classifyId;

    @ApiModelProperty("可预约人数")
    private Integer numberAppointments;

    @ApiModelProperty("排班时间")
    private String planTime;

    @ApiModelProperty("排班日期")
    private String planDate;

    private Boolean disable;
    //已约满
    private Boolean full;

    private String classifyName;

    private BigDecimal price;
    //类型
    private String type;
    //服务的方式
    private String serviceMode;
    //总的可以预约的条数
    private Long count;

}
